<?php /* Smarty version Smarty-3.1.7, created on 2012-02-17 14:44:21
         compiled from "E:\cms\phplinblog\www/template/cial\index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:102194f3df7453d0154-51196632%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '78965fe98a5243605305f12f10700ab8df1dda87' => 
    array (
      0 => 'E:\\cms\\phplinblog\\www/template/cial\\index.tpl',
      1 => 1329449749,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '102194f3df7453d0154-51196632',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'data' => 0,
    'fpage' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.7',
  'unifunc' => 'content_4f3df745814c1',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4f3df745814c1')) {function content_4f3df745814c1($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'E:\\cms\\phplinblog\\www\\include\\libs\\plugins\\modifier.date_format.php';
?><?php echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
 
<?php echo $_smarty_tpl->getSubTemplate ("menu.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

                <div id="content">
<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['tx'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['tx']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['data']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['name'] = 'tx';
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['tx']['total']);
?>
                    <div class="cont">
                        <div class="blog_title"><a href="../../index.php?SID&amp;aid=<?php echo $_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->getVariable('smarty')->value['section']['tx']['index']]['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->getVariable('smarty')->value['section']['tx']['index']]['title'];?>
</a></div>
                        <div class="blog_time"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->getVariable('smarty')->value['section']['tx']['index']]['pub_date'],'%Y-%m-%d %H:%M:%S');?>
发布者：<?php echo $_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->getVariable('smarty')->value['section']['tx']['index']]['u_id'];?>
</div>
                        <div class="blog_cont">摘要：<?php echo $_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->getVariable('smarty')->value['section']['tx']['index']]['description'];?>
</div>
                        <div class="blog_detail"><a href="index.php?SID&amp;aid=<?php echo $_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->getVariable('smarty')->value['section']['tx']['index']]['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->getVariable('smarty')->value['section']['tx']['index']]['content'];?>
</a></div>
                        <div class="blog_control">
                            <ul>
                                <li><a href="../../index.php?SID&amp;aid=<?php echo $_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->getVariable('smarty')->value['section']['tx']['index']]['id'];?>
">评论[<?php echo $_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->getVariable('smarty')->value['section']['tx']['index']]['cmt_count'];?>
]</a></li>
                                <li><div class="tiao"></div></li>
                                <li><a href="../../index.php?SID&amp;aid=<?php echo $_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->getVariable('smarty')->value['section']['tx']['index']]['id'];?>
">阅读[<?php echo $_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->getVariable('smarty')->value['section']['tx']['index']]['show_times'];?>
]</a></li>
                                <li><div class="tiao"></div></li>
                                <li><a href="../../index.php?SID&amp;aid=<?php echo $_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->getVariable('smarty')->value['section']['tx']['index']]['id'];?>
">分类：<?php echo $_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->getVariable('smarty')->value['section']['tx']['index']]['c_id'];?>
</a></li>
                                 <li><div class="tiao"></div></li>
                                <li><a href="../../index.php?SID&amp;aid=<?php echo $_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->getVariable('smarty')->value['section']['tx']['index']]['id'];?>
">Tags:<?php echo $_smarty_tpl->tpl_vars['data']->value[$_smarty_tpl->getVariable('smarty')->value['section']['tx']['index']]['keywords'];?>
</a></li>
                            </ul>
                        </div>
                    </div>

<div class="space"></div>
<?php endfor; else: ?>
暂时未发布博客
<?php endif; ?>
<div class='page'><?php echo $_smarty_tpl->tpl_vars['fpage']->value;?>
</div>         
                    
                </div>
            </div>
            <div class="nav"></div>
<?php echo $_smarty_tpl->getSubTemplate ("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>


            
<?php }} ?>